/* div{
  overflow: hidden;
} */

.div1{
  width: 100px;
  height: 100px;
  background: #000;
  margin-bottom: 20px;
  display: inline-block;
}

.div2{
  width: 100px;
  height: 100px;
  background: #efbfef;
  margin-top: 30px;
}

.div3{
  width: 200px;
  height: 200px;
  background: lightgreen;
  margin-top: 20px;
  border: solid 1px;
}

.div4{
  width: 100px;
  height: 100px;
  background: lightblue;
  margin-top: 30px;
}